package com.shfl.models;

import javafx.beans.property.SimpleStringProperty;

import java.io.Serializable;

public class AccountInfo implements Serializable {

    private SimpleStringProperty accountName;
    private SimpleStringProperty endTimeValue;
    private SimpleStringProperty residueDegree;

    public AccountInfo(String accountName, String endTimeValue, String residueDegree) {
        this.accountName = new SimpleStringProperty(accountName);
        this.endTimeValue = new SimpleStringProperty(endTimeValue);
        this.residueDegree = new SimpleStringProperty(residueDegree);
    }


    public String getAccountName() {
        return accountName.get();
    }

    public SimpleStringProperty accountNameProperty() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName.set(accountName);
    }

    public String getEndTimeValue() {
        return endTimeValue.get();
    }

    public SimpleStringProperty endTimeValueProperty() {
        return endTimeValue;
    }

    public void setEndTimeValue(String endTimeValue) {
        this.endTimeValue.set(endTimeValue);
    }

    public String getResidueDegree() {
        return residueDegree.get();
    }

    public SimpleStringProperty residueDegreeProperty() {
        return residueDegree;
    }

    public void setResidueDegree(String residueDegree) {
        this.residueDegree.set(residueDegree);
    }
}
